package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报销支付对象 cst_reimburse_payment
 * 
 * @author zjw
 * @date 2023-01-04
 */
public class CstReimbursePayment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报销ID */
    private Long paymentId;

    /** 报销日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报销日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paymentDate;

    /** 报销总金额 */
    @Excel(name = "报销总金额")
    private Long paymentAmount;

    /** 报销人 */
    @Excel(name = "报销人")
    private String paymentPerson;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    public void setPaymentId(Long paymentId) 
    {
        this.paymentId = paymentId;
    }

    public Long getPaymentId() 
    {
        return paymentId;
    }
    public void setPaymentDate(Date paymentDate) 
    {
        this.paymentDate = paymentDate;
    }

    public Date getPaymentDate() 
    {
        return paymentDate;
    }
    public void setPaymentAmount(Long paymentAmount) 
    {
        this.paymentAmount = paymentAmount;
    }

    public Long getPaymentAmount() 
    {
        return paymentAmount;
    }
    public void setPaymentPerson(String paymentPerson) 
    {
        this.paymentPerson = paymentPerson;
    }

    public String getPaymentPerson() 
    {
        return paymentPerson;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paymentId", getPaymentId())
            .append("paymentDate", getPaymentDate())
            .append("paymentAmount", getPaymentAmount())
            .append("paymentPerson", getPaymentPerson())
            .append("projectId", getProjectId())
            .append("userId", getUserId())
            .toString();
    }
}
